Skip to content

Instantly share code, notes, and snippets.

name explain-diff-html
description Use when the user asks for a rich explanation of a code change, diff, branch, or PR. Produces HTML output.

Explain Diff

Please make me a rich, interactive explanation of the specified code change.

It should have these sections:

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active July 21, 2026 22:03
Complete Recent Discord Quest

Caution

As of April 7th 2026, Discord has expressed their intent to crack down on automating quest completion.

Some users have received the following system message:

image

There isn't much I can do to make the script undetected, so use it at your own risk, as you most likely WILL get flagged by doing so.

Complete Recent Discord Quest

@Akira-Hayasaka
Akira-Hayasaka / gist:863ff80c2d95c7ca1572
Last active July 21, 2026 22:02
get osx power button pressed
//
// PowerButtonDetector.h
// BootManager
//
// Created by Akira on 4/7/15.
//
//
#ifndef BootManager_PowerButtonDetector_h
#define BootManager_PowerButtonDetector_h
@skkut
skkut / FirewallBlockAllAppsInFolder.bat
Last active July 21, 2026 22:00
A windows batch file to block all applications in a folder in Windows firewall
@ setlocal enableextensions
@ cd /d "%~dp0"
for /R %%a in (*.exe) do (
netsh advfirewall firewall add rule name="Blocked with Batchfile %%a" dir=out program="%%a" action=block
)
@gumclaw
gumclaw / TASTE-public.md
Created July 20, 2026 12:41
TASTE.md — Sahil's taste, distilled from every correction. The file every human-facing artifact gets checked against before it ships. (Lightly scrubbed: one internal ticket token.)

TASTE.md

Sahil's taste, distilled from every correction he's given. Every human-facing artifact — email, support reply, GitHub issue/PR/comment, Telegram message, report, UI copy — gets checked against this before it ships. When a new correction lands, it gets added here; this file is the single source of truth, not scattered memory notes.

Writing voice

  • Plain sentences. Say the thing directly. No corporate filler ("I wanted to reach out", "per my last message", "I hope this finds you well"), no hedging preamble.
  • Never "claimed." Don't write "the customer claimed" — it reads as accusatory. "The customer said / reported / described."
  • No internal-process jargon in issues or replies. "rung: Confirmed", "e0-skip", confidence-ladder shorthand: meaningless to anyone else. Write plain English: "Root cause: confirmed - " / "Not a code fix because ". (Sahil, 2026-07-05, #906)
  • No raw machine artifacts in human-facing text. No raw IDs, UUIDs, machine timestamps (`2026-07
@sanguine6660
sanguine6660 / VirtualPianoRobloxPlayer.md
Last active July 21, 2026 21:55
Virtual Piano Roblox Player
@kaeri-gg
kaeri-gg / readme.txt
Created February 18, 2026 20:49
Aqua Energizer (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
@kibotu
kibotu / prompt-injections.md
Last active July 21, 2026 21:45
Prompt Injection & Jailbreak Techniques — Comprehensive Reference

Prompt Injection & Jailbreak Techniques — Comprehensive Reference

Purpose & scope. A defensive/educational knowledge base cataloguing known prompt-injection and jailbreak patterns, the models/systems they have affected, and the defenses against them. Compiled from primary literature (arXiv papers, vendor disclosures) and security research, June 2026.

How to read this. Every technique lists: how it works, an illustrative structural skeleton (the shape of the attack, not a weaponized payload), the models/systems it was reported against, and its current status. Examples are deliberately defanged. >